
import request from "@/util/request";
// 获取验证码
export function getCaptcha() {
    return request({
        method: 'get',
        url: '/getCaptcha',
    })
}

export function login(data) {
    return request({
        method: 'post',
        url: '/system/adminUser/login',
        data
    })
}
export function logout() {
    return request({
        method: 'get',
        url: '/system/adminUser/logout',
    })
}
